/**
 * @Project HGEMS
 * @Author Tran Manh Hung
 * @Email: hungtmit@gmail.com | tmh@xwebgate.com
 * @Copyright © 2010 TMH. All rights reserved
 * @Createdate Oct 10, 2010
 * @Createtime 10:14:32 PM
 */


package events
{
	import flash.events.Event;


	public class HGFuncNavEvent extends Event
	{
		public static const FUNC_NAV_GROUP_CHANGE:String = "funcNavGroupChange";

		public static const FUNC_NAV_FUNC_CHANGE:String = "funcNavFuncChange";

		private var _currentGroup:String;

		private var _currentFunc:String;

		public function HGFuncNavEvent(type:String, currentGroup:String = "", currentFunc:String = "", bubbles:Boolean = false, cancelable:Boolean = false)
		{
			super(type, bubbles, cancelable);

			this.currentGroup = currentGroup;
			this.currentFunc = currentFunc;
		}

		override public function clone():Event
		{
			return new HGFuncNavEvent(type, currentGroup, currentFunc, bubbles, cancelable);
		}

		public function get currentGroup():String
		{
			return _currentGroup;
		}

		public function set currentGroup(value:String):void
		{
			_currentGroup = value;
		}

		public function get currentFunc():String
		{
			return _currentFunc;
		}

		public function set currentFunc(value:String):void
		{
			_currentFunc = value;
		}


	}
}